// app.js
import "./utils/http"
import "./utils/util.js"
App({
  setToken(type,value){
    this[type] = value
    wx.setStorageSync(type, value)
  },
  getToken(type="token"){
   return wx.getStorageSync(type)
  },
  globalData: {
    userInfo: null
  }
})
